
import Layout from '@/layout'

export default {
 alwaysShow: true,
 hidden:false,
  path: '/equipment',
  component: Layout,
  name :'equipment',
  meta: {
    title: '设备',
    icon: 'el-icon-office-building', 
    roles: [
      'equipment'
    ]
  },
  children: [
    { path: '/equipment/category', component: ()=>import('@/views/equipment/category'), name: 'equipmentCategory', meta: { title: '设备分类',roles: ['equipment.category'] }},
    { path: '/equipment/list', component: ()=>import('@/views/equipment/list'), name: 'equipmentList', meta: { title: '设备列表',roles: ['equipment.list'] }},
    { path: '/equipment/detail', component: ()=>import('@/views/equipment/detail'), name: 'equipmentDetail', meta: { title: '设备详情',roles: ['equipment.detail'] },hidden:true,},
    { path: '/projectbuilding/index', component: ()=>import('@/views/projectbuilding/index'), name: 'projectbuilding', meta: { title: '建筑管理',roles: ['projectbuilding.index'] }},
    { path: '/projectfloor/index', component: ()=>import('@/views/projectfloor/index'), name: 'projectfloor', meta: { title: '楼层管理',roles: ['projectfloor.index'] }},
    { path: '/inspectionpoints/index', component: ()=>import('@/views/inspectionpoints/index'), name: 'inspectionpoints', meta: { title: '巡检点位',roles: ['inspectionpoints.index'] }}
  ]
}
